﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Common
{
    public class Pagination
    {
        public class PaginationResult<T>
        {
            public int total { get; set; }
            public IList<T> rows { get; set; }
            public PaginationResult()
            {
                this.rows = new List<T>();
            }
            public PaginationResult(int total, IList<T> list)
            {
                this.total = total;
                this.rows = list;
            }
        }
    }
}
